<div class="span-20 append-2 prepend-2 last profile" >
    <?php
        if($string)
            echo $string;
        else
            echo '<h4>You still has no friends registered in TimeLife</h4><hr />';
    ?>
    <div id="fb-root"></div>
    <script src="http://connect.facebook.net/en_US/all.js"></script>
    <a href="#" onclick="sendRequestViaMultiFriendSelector(); return false;"><h4>Invite Friends</h4></a><hr />
    <script>
      FB.init({
        appId  : '271681072873323',
        status : true,
        cookie : true,
        oauth: true
      });

      function sendRequestViaMultiFriendSelector() {
        FB.ui({method: 'apprequests',
          message: 'Join the timelife'
        }, requestCallback);
      }
      
      function requestCallback(response) {
        // Handle callback here
      }
    </script>
</div>